<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

include_once('admin.php');
include_once('mobile.php');

Route::any('/server', '\App\Admin\Controllers\ServerController@index');
Route::get('/add_button', '\App\Admin\Controllers\ServerController@generateButton');
Route::get('/', '\App\Admin\Controllers\LoginController@index');
Route::any('/pay_back', '\App\Mobile\Controllers\WechatController@payBack');